/**
 *  *2010-10-22 下午02:27:03  add 
 */
package com.base.myproject.client.ui;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.event.GridEvent;
import com.extjs.gxt.ui.client.widget.grid.Grid;
import com.google.gwt.user.client.Event;

/**
 * @author Administrator
 *2010-10-22
 * javazgw@gmail.com
 */
public class BaseLiveGridEvent <M extends ModelData> extends GridEvent<M> {
	  private int viewIndex;

	  private int pageSize;

	  private int totalCount;

	  public BaseLiveGridEvent(Grid<M> grid) {
	    super(grid);
	  }

	  public BaseLiveGridEvent(Grid<M> grid, Event event) {
	    super(grid, event);
	  }

	  public int getPageSize() {
	    return pageSize;
	  }

	  public int getTotalCount() {
	    return totalCount;
	  }

	  public int getViewIndex() {
	    return viewIndex;
	  }

	  public void setPageSize(int pageSize) {
	    this.pageSize = pageSize;
	  }
	  public void setTotalCount(int totalCount) {
	    this.totalCount = totalCount;
	  }
	  public void setViewIndex(int viewIndex) {
	    this.viewIndex = viewIndex;
	  }
	}
